[INFO] cloning repository https://github.com/neunhoef/tradegame
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/neunhoef/tradegame" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneunhoef%2Ftradegame", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneunhoef%2Ftradegame'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d5a3be683d4b966671296a523ce2b1654057bc1c
[INFO] fixing neunhoef/tradegame against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneunhoef%2Ftradegame" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/neunhoef/tradegame
[INFO] finished tweaking git repo https://github.com/neunhoef/tradegame
[INFO] tweaked toml for git repo https://github.com/neunhoef/tradegame written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/neunhoef/tradegame on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/neunhoef/tradegame already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] db2d73be85ac0fdefa2e9555e05c5779de4391062ef8c1e4c3142ab2e206f9a8
[INFO] running `Command { std: "docker" "start" "db2d73be85ac0fdefa2e9555e05c5779de4391062ef8c1e4c3142ab2e206f9a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "db2d73be85ac0fdefa2e9555e05c5779de4391062ef8c1e4c3142ab2e206f9a8" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "db2d73be85ac0fdefa2e9555e05c5779de4391062ef8c1e4c3142ab2e206f9a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "db2d73be85ac0fdefa2e9555e05c5779de4391062ef8c1e4c3142ab2e206f9a8" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking tracing-core v0.1.34
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]     Checking iana-time-zone v0.1.63
[INFO] [stderr]     Checking memchr v2.7.5
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]     Checking parking_lot_core v0.9.11
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking dashmap v5.5.3
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]     Checking tokio v1.46.1
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking serde v1.0.219
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]     Checking serde_json v1.0.140
[INFO] [stderr]     Checking uuid v1.17.0
[INFO] [stderr]     Checking tradegame v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0277]: `GoodType` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> src/game.rs:168:74
[INFO] [stdout]     |
[INFO] [stdout] 168 |                 println!("AI sending {} {} from {:?} to {:?}", quantity, good, from, to);
[INFO] [stdout]     |                                         --                               ^^^^ `GoodType` cannot be formatted with the default formatter
[INFO] [stdout]     |                                         |
[INFO] [stdout]     |                                         required by this formatting parameter
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `GoodType`
[INFO] [stdout]    --> src/city.rs:9:1
[INFO] [stdout]     |
[INFO] [stdout]   9 | pub enum GoodType {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `GoodType` doesn't implement `std::fmt::Display`
[INFO] [stdout]    --> src/game.rs:168:74
[INFO] [stdout]     |
[INFO] [stdout] 168 |                 println!("AI sending {} {} from {:?} to {:?}", quantity, good, from, to);
[INFO] [stdout]     |                                         --                               ^^^^ `GoodType` cannot be formatted with the default formatter
[INFO] [stdout]     |                                         |
[INFO] [stdout]     |                                         required by this formatting parameter
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `std::fmt::Display` is not implemented for `GoodType`
[INFO] [stdout]    --> src/city.rs:9:1
[INFO] [stdout]     |
[INFO] [stdout]   9 | pub enum GoodType {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self` as immutable because it is also borrowed as mutable
[INFO] [stdout]   --> src/ai.rs:92:32
[INFO] [stdout]    |
[INFO] [stdout] 88 |         for trader in &mut self.traders {
[INFO] [stdout]    |                       -----------------
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       mutable borrow occurs here
[INFO] [stdout]    |                       mutable borrow later used here
[INFO] [stdout] ...
[INFO] [stdout] 92 |                 let decision = self.make_decision(trader);
[INFO] [stdout]    |                                ^^^^ immutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0502.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tradegame` (lib test) due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0502]: cannot borrow `*self` as immutable because it is also borrowed as mutable
[INFO] [stdout]   --> src/ai.rs:92:32
[INFO] [stdout]    |
[INFO] [stdout] 88 |         for trader in &mut self.traders {
[INFO] [stdout]    |                       -----------------
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       mutable borrow occurs here
[INFO] [stdout]    |                       mutable borrow later used here
[INFO] [stdout] ...
[INFO] [stdout] 92 |                 let decision = self.make_decision(trader);
[INFO] [stdout]    |                                ^^^^ immutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0502.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tradegame` (lib) due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "db2d73be85ac0fdefa2e9555e05c5779de4391062ef8c1e4c3142ab2e206f9a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "db2d73be85ac0fdefa2e9555e05c5779de4391062ef8c1e4c3142ab2e206f9a8", kill_on_drop: false }`
[INFO] [stdout] db2d73be85ac0fdefa2e9555e05c5779de4391062ef8c1e4c3142ab2e206f9a8
